package com.xplay.xpocker.mapper;

import com.xplay.xpocker.entity.GameRuMahjongLogs;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xplay
 * @since 2024-04-26
 */
public interface GameRuMahjongLogsMapper extends BaseMapper<GameRuMahjongLogs> {

    /**
     * 距离最后一次摸牌用户的记录
     *
     * @param userId
     * @return
     */

    public List<GameRuMahjongLogs> queryLastTouchLogs(@Param(value = "userId") BigDecimal userId);

}
